home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Information / Programming / C Reference Card 1.4 / C Reference Card / C Reference Card.rsrc / PICT_418.png < prev    next >
Portable Network Graphic  |  1994-05-05  |  1.9 KB  |  246x264  |  1-bit (2 colors)
   ocr: C++ Usagi Example class myClass int a; Winstance varables int b; public: void M(int); I method declaration : i void myClass:M(int arg)f int . a; a=b*2; ais local, bis instance this->a=a*2; this->ais instance var - I myciass "anobject, declare objec anobject= new myClass; W allocate mel I program code delete anobject; d deallocate me